import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mirac
 * Date: 2025-04-18
 * Time: 11:57
 */
public class main {
    public static int max2(int x,int y){
        if(x > y){
            return x;
        }else{
            return y;
        }
    }
    public static int max3(int x,int y,int z){
return max2(max2(x,y),z);
    }
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        System.out.println(max3(a,b,c));
    }
}
